import mysql from "mysql2";
import { databaseConfig } from "@/configs/database";

const pool = mysql.createPool({
	namedPlaceholders: true,
	...databaseConfig,
});
export const connection = pool.promise();
